package com.vehicle.domains.vo.res.camera;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(description = "相机设备查询响应结果")
public class CameraRes {

    @Schema(name = "id", description = "相机设备ID")
    private Long id;

    @Schema(name = "videoPosition", description = "视频位置")
    private String videoPosition;

    @Schema(name = "cameraIp", description = "相机IP地址")
    private String cameraIp;

    @Schema(name = "channelCode", description = "通信编码")
    private String channelCode;

    @Schema(name = "channelName", description = "通信名称")
    private String channelName;

    @Schema(name = "cameraCode", description = "相机编码")
    private String cameraCode;

    @Schema(name = "inOutType", description = "出入口类型（IN-入口，OUT-出口）")
    private String inOutType;

    @Schema(name = "displayIp", description = "显示屏IP地址")
    private String displayIp;

    @Schema(name = "isPictureRecording", description = "是否需要录像")
    private Boolean isPictureRecording;

    @Schema(name = "workMode", description = "工作模式")
    private String workMode;

    @Schema(name = "associationCameraId", description = "关联相机ID")
    private Long associationCameraId;

    @Schema(name = "nvrAddressUrl", description = "NVR地址")
    private String nvrAddressUrl;

    @Schema(name = "createTime", description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @Schema(name = "updateTime", description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @Schema(name = "entryExitCode", description = "道口编号")
    private String entryExitCode;

    @Schema(name = "roadCode", description = "道闸编号")
    private String roadCode;
}
